package com.example.wuyeguanli.entiy;

/**
 * 投诉单实体类 (Complaint)
 */
public class Complaint {

    /**
     * 工单号 (主键)
     */
    private String workOrderId;

    /**
     * 信息
     */
    private String message;

    /**
     * 图片编号 (外键, 关联Image)
     */
    private String imageId;

    /**
     * 业主电话 (外键, 关联Owner)
     */
    private String ownerPhone;

    // 构造函数
    public Complaint() {
    }

    public Complaint(String workOrderId, String message, String imageId, String ownerPhone) {
        this.workOrderId = workOrderId;
        this.message = message;
        this.imageId = imageId;
        this.ownerPhone = ownerPhone;
    }

    // Getter and Setter
    public String getWorkOrderId() {
        return workOrderId;
    }

    public void setWorkOrderId(String workOrderId) {
        this.workOrderId = workOrderId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getImageId() {
        return imageId;
    }

    public void setImageId(String imageId) {
        this.imageId = imageId;
    }

    public String getOwnerPhone() {
        return ownerPhone;
    }

    public void setOwnerPhone(String ownerPhone) {
        this.ownerPhone = ownerPhone;
    }
}
